package com.ouheng.shop.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.ouheng.shop.domain.OhOrderDO;
import com.ouheng.shop.domain.OrderProductDO;

/**
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-06-22 13:54:15
 */
@Mapper
public interface StatisticalDao {

	Map<String, Object> countordermember(Map<String, Object> map);
	
	Map<String, Object> countorder(Map<String, Object> map);
	
	Map<String, Object> countamount(Map<String, Object> map);
	
	Map<String, Object> countsuccess(Map<String, Object> map);
	
	Map<String, Object> paymoney(Map<String, Object> map);
	
	Map<String, Object> countpayordermember(Map<String, Object> map);
	
	Map<String, Object> countpayorder(Map<String, Object> map);
	
	Map<String, Object> countpayamount(Map<String, Object> map);
	
	Map<String, Object> countpaymoney(Map<String, Object> map);
	
	Map<String, Object> average(Map<String, Object> map);
	
	Map<String, Object> invalidpaymoney(Map<String, Object> map);
	
	Map<String, Object> invalidcount(Map<String, Object> map);
	
	Map<String, Object> validpaymoney(Map<String, Object> map);
	
	Map<String, Object> endordercount(Map<String, Object> map);
	
	Map<String, Object> endordermoneycount(Map<String, Object> map);
	
	Map<String, Object> isvipcount(Map<String, Object> map);
	
	Map<String, Object> orderisvip(Map<String, Object> map);
	
	Map<String, Object> isviporder(Map<String, Object> map);
	
	Map<String, Object> noisviporder(Map<String, Object> map);
	
	Map<String, Object> vippaymoneycount(Map<String, Object> map);
	
	Map<String, Object> novippaymoneycount(Map<String, Object> map);
	
	Map<String, Object> vippurchaserate(Map<String, Object> map);
	
	Map<String, Object> youbicount(Map<String, Object> map);
	
	
	
	List<OhOrderDO> listorder(Map<String,Object> map);
	
	int ordercount(Map<String,Object> map);
	
	List<OrderProductDO> listOrderProduct(Map<String,Object> map);
	
	int OrderProductcount(Map<String,Object> map);
	
}
